﻿using System;
using System.Collections.Generic;
using System.Text;

namespace ChOfResp
{
    class VicePresident : Approver
    {
        public VicePresident(string name) : base(name) { }
        public override void ProcessRequest(RurchaseRequest request)
        {
            if (request.Amount<10000)
            {
                Console.WriteLine($"副董事长审批{this.name}这个{request.Amount}事");
            }
            else
            {
                this.Successor.ProcessRequest(request);
            }
        }
    }
}
